Integrand size = 24, antiderivative size = 12 \[ \int \frac {\cos (c+d x)}{\csc (c+d x)-\sin (c+d x)} \, dx=-\frac {\log (\cos (c+d x))}{d} \]
[Out]
Time = 0.04 (sec) , antiderivative size = 12, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.083, Rules used = {4419, 266} \[ \int \frac {\cos (c+d x)}{\csc (c+d x)-\sin (c+d x)} \, dx=-\frac {\log (\cos (c+d x))}{d} \]
[In]
[Out]
Rule 266
Rule 4419
Rubi steps \begin{align*} \text {integral}& = \frac {\text {Subst}\left (\int \frac {x}{1-x^2} \, dx,x,\sin (c+d x)\right )}{d} \\ & = -\frac {\log (\cos (c+d x))}{d} \\ \end{align*}
Time = 0.01 (sec) , antiderivative size = 12, normalized size of antiderivative = 1.00 \[ \int \frac {\cos (c+d x)}{\csc (c+d x)-\sin (c+d x)} \, dx=-\frac {\log (\cos (c+d x))}{d} \]
[In]
[Out]
Time = 0.44 (sec) , antiderivative size = 13, normalized size of antiderivative = 1.08
method | result | size |
derivativedivides | \(-\frac {\ln \left (\cos \left (d x +c \right )\right )}{d}\) | \(13\) |
default | \(-\frac {\ln \left (\cos \left (d x +c \right )\right )}{d}\) | \(13\) |
risch | \(i x +\frac {2 i c}{d}-\frac {\ln \left ({\mathrm e}^{2 i \left (d x +c \right )}+1\right )}{d}\) | \(30\) |
parallelrisch | \(\frac {-\ln \left (\tan \left (\frac {d x}{2}+\frac {c}{2}\right )-1\right )-\ln \left (\tan \left (\frac {d x}{2}+\frac {c}{2}\right )+1\right )+\ln \left (\sec \left (\frac {d x}{2}+\frac {c}{2}\right )^{2}\right )}{d}\) | \(46\) |
norman | \(\frac {\ln \left (1+\tan \left (\frac {d x}{2}+\frac {c}{2}\right )^{2}\right )}{d}-\frac {\ln \left (\tan \left (\frac {d x}{2}+\frac {c}{2}\right )-1\right )}{d}-\frac {\ln \left (\tan \left (\frac {d x}{2}+\frac {c}{2}\right )+1\right )}{d}\) | \(54\) |
[In]
[Out]
none
Time = 0.25 (sec) , antiderivative size = 14, normalized size of antiderivative = 1.17 \[ \int \frac {\cos (c+d x)}{\csc (c+d x)-\sin (c+d x)} \, dx=-\frac {\log \left (-\cos \left (d x + c\right )\right )}{d} \]
[In]
[Out]
\[ \int \frac {\cos (c+d x)}{\csc (c+d x)-\sin (c+d x)} \, dx=\int \frac {\cos {\left (c + d x \right )}}{- \sin {\left (c + d x \right )} + \csc {\left (c + d x \right )}}\, dx \]
[In]
[Out]
none
Time = 0.20 (sec) , antiderivative size = 24, normalized size of antiderivative = 2.00 \[ \int \frac {\cos (c+d x)}{\csc (c+d x)-\sin (c+d x)} \, dx=-\frac {\log \left (\sin \left (d x + c\right ) + 1\right ) + \log \left (\sin \left (d x + c\right ) - 1\right )}{2 \, d} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 26 vs. \(2 (12) = 24\).
Time = 0.29 (sec) , antiderivative size = 26, normalized size of antiderivative = 2.17 \[ \int \frac {\cos (c+d x)}{\csc (c+d x)-\sin (c+d x)} \, dx=-\frac {\log \left ({\left | \sin \left (d x + c\right ) + 1 \right |}\right ) + \log \left ({\left | \sin \left (d x + c\right ) - 1 \right |}\right )}{2 \, d} \]
[In]
[Out]
Time = 22.69 (sec) , antiderivative size = 14, normalized size of antiderivative = 1.17 \[ \int \frac {\cos (c+d x)}{\csc (c+d x)-\sin (c+d x)} \, dx=-\frac {\ln \left ({\cos \left (c+d\,x\right )}^2\right )}{2\,d} \]
[In]
[Out]